package com.zyf.cloud.services.userservice.mapper;

import com.zyf.cloud.services.userservice.entity.EsBlog;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.elasticsearch.repository.ElasticsearchCrudRepository;



public interface IEsBlogRepository extends ElasticsearchCrudRepository<EsBlog,String> {

    Page<EsBlog> findDistinctEsBlogByTitleContainingOrContentContaining(String title, String content, Pageable pageable);
}
